<h1>Listing cities</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Description</th>
  </tr>

<% @cities.each do |city| %>
  <tr>
    <td><%=h city.title %></td>
    <td><%=h city.description %></td>
    <td><%= link_to 'Show', city %></td>
    <td><%= link_to 'Edit', edit_city_path(city) %></td>
    <td><%= link_to 'Destroy', city, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New city', new_city_path %>